package com.bot.adms.dao;

import com.bot.adms.model.entity.ApplyContentSpScDetail;

import java.util.List;

/**
 * 投放申请分屏明细表持久层接口 
 */
public interface IApplyContentSpScDetailDao {
    /**
     * 添加投放申请分屏明细
     *
     * @param applyContentSpScDetail 投放申请分屏明细，包含：分屏明细类型，分屏号等等
     * @return Integer 添加成功的数量
     */
    public Integer insertApplyContentSpScDetail(ApplyContentSpScDetail applyContentSpScDetail);

    /**
     * 修改投放申请分屏明细
     *
     * @param applyContentSpScDetail 投放申请分屏明细，包含：分屏明细类型，分屏号等等
     * @return Integer 修改成功的数量
     */
    public Integer updateApplyContentSpScDetail(ApplyContentSpScDetail applyContentSpScDetail);

    /**
     * 删除投放申请分屏明细
     *
     * @param id 投放申请分屏明细id
     * @return Integer 删除成功的数量
     */
    public Integer deleteApplyContentSpScDetail(Long id);


    /**
     * 查找（获取）投放申请分屏明细
     *
     * @param id 投放申请分屏明细id
     * @return ApplyContentSpScDetail 投放申请分屏明细，包含：分屏明细类型，分屏号等等
     */
    public ApplyContentSpScDetail getApplyContentSpScDetailById(Long id);

    /**
     * 查询投放申请分屏明细
     *
     * @param applyContentSpScDetail 投放申请分屏明细，包含：分屏明细类型，分屏号等等
     * @return List<ApplyContentSpScDetail> 投放申请分屏明细集合，包含：分屏明细类型，分屏号等等
     */
    public List<ApplyContentSpScDetail> searchApplyContentSpScDetail(ApplyContentSpScDetail applyContentSpScDetail);
}
